Split String

The information on this page relates to the new upgraded interface of the IConduct platform. To view information about the Classic version of the user interface, follow this link.

 

A very useful text manipulation algorithm is the Split String option. This process divides a string into an array of strings.

If your data is stored as a string with a common separator between each individual value, you can use this option to select specific strings of data from an existing string, and send them to a target column. You need to define the data source, the separator, and where you want the result to be stored (destination column). This option also lets you skip strings and select data placed at a designated location by setting how many times the separator appears before copying the remaining string to the target field.

 

For example, if the source data is a string consisting of a first name, last name, id number (e.g. Nir,Sidi,1), and the string you are interested in is the id number, then you can define the separator as a comma (,) and the index as 2, so that the system will copy only the string located after the second comma appears in the source data.

 

The result will be as follows:

 

Source Column Target Column
Nir,Sidi,1 1
Joe,Walsh,23 23

 

To configure this manipulate step, follow the instructions below:

 

  1. In the specific Interface work area, press the downward button next to the task and press the ‘+’ (plus sign) button.

Creating a New Step

  1. Select Create manipulation step.
  1. Navigate to the Texts section and select Split String.

Texts Section

  1. In the Split String work area, fill in the following fields

Fields Description

Name of step

Provide a distinctive name for this step.

Filter Expression

Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table.

Sort Expression

Optional. Use this field to sort data from the source database prior to inserting it into the Schema table.

Order of Execution

Enter the order in which this step should be executed.

Audit notes

Leave notes about the step if needed. This field may contain any information, such as the purpose of the step, further actions that must be taken etc. for you to work with the step in the future or to inform team members about your intent. 

Is Active

Activate the switch to engage the scheduler for this step.

Stop interface execution if query failed

Optional. If enabled, the system will stop any data manipulation if the query returns an error.

Save Schema (enabled per interface)

If selected, the schema is created for this step.

Source Column

Select the column where you will retrieve the data source.

Target Column

Select the column where the result will be stored.

Split Value

Define the separator that is used in the source string.

Array Index to Use

Define the index so the system will copy only the sting located after the specified separator.

 

  1. Press the Create step button.